package com.camel.system.controller;


import com.camel.core.controller.BaseCommonController;
import com.camel.core.entity.Result;
import com.camel.core.model.MarketEntity;
import com.camel.core.service.BaseCommonService;
import com.camel.system.service.MarketEntityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <应用管理>
 *
 * @author baily
 * @date 2019/7/5
 * @since 1.0
 **/
@RestController
@RequestMapping(("/market"))
public class MarketEntityController extends BaseCommonController<MarketEntity> {

    @Autowired
    private MarketEntityService<MarketEntity> service;

    @Override
    public Result all() {
        return super.all();
    }

    @Override
    public BaseCommonService<MarketEntity> getiService() {
        return service;
    }

    @Override
    public String getMouduleName() {
        return "应用";
    }
}

